e02zaf
e02zaf
© Numerical Algorithms Group, 2002.
Purpose
E02ZAF Sort 2-D data into panels for fitting bicubic splines
Synopsis
[point,ifail] = e02zaf(lamda,mu,x,y<,ifail>)
Description
A set of m data points with rectangular Cartesian co-ordinates
x ,y are sorted into panels defined by lines parallel to the y
r r
and x axes. The intercepts of these lines on the x and y axes are
given in LAMDA(i), for i=5,6,...,PX-4 and MU(j), for
j=5,6,...,PY-4, respectively. The subroutine orders the data so
that all points in a panel occur before data in succeeding
panels, where the panels are numbered from bottom to top and then
left to right, with the usual arrangement of axes. Within a panel
the points maintain their original order.
A data point lying exactly on one or more panel sides is taken to
be in the highest-numbered panel adjacent to the point. The
subroutine does not physically rearrange the data, but provides
the array POINT which contains a linked list for each panel,
pointing to the data in that panel.
Parameters
e02zaf
Required Input Arguments:
lamda (:) real
mu (:) real
x (:) real
y (:) real
Optional Input Arguments: <Default>
ifail integer -1
Output Arguments:
point (:) integer
ifail integer